<template>
  <div class="iframe">
    <div class="i-title">
        <h3>setup 函数执行时机</h3>
    </div>
    <div class="i-tip">
       {{tip}}
    </div>
  </div>
</template>
<script>
export default {
  name: "hello",
  setup() {
    console.log("setup");
    return { tip:"setup > beforeCreate" };
  },
  beforeCreate(){
    console.log("beforeCreate");
  }
};
</script>
<style scoped>
</style>